home *** CD-ROM | disk | FTP | other *** search
- echo off
- echo ┌────────────────────────┐
- echo │ STPOS2 Profiler for │
- echo │ OS/2 Protect Mode │
- echo └────────────────────────┘
- copy STPOS2.EXE STPTEMP.EXE
- if errorlevel 1 goto err
- if "%1" == "" goto default
- STPOS2 /profile %1 STPTEMP.EXE
- :resume
- if errorlevel 1 goto err
- echo Erasing STPOS2.EXE
- erase STPOS2.EXE
- if errorlevel 1 goto err
- echo Renaming STPTEMP.EXE to STPOS2.EXE
- rename STPTEMP.EXE STPOS2.EXE
- if errorlevel 1 goto err
- goto ok
- :default
- stpos2 /profile STPOS2.PRO STPTEMP.EXE
- goto resume
- :err
- echo abort
- :ok
-